home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Tcl-Tk 8.0 / Pre-installed version / tk8.0 / win / README < prev    next >
Encoding:
Text File  |  1997-08-15  |  4.6 KB  |  125 lines  |  [TEXT/ALFA]

  1. Tk 8.0 for Windows
  2.  
  3. by Scott Stanton
  4. Sun Microsystems Laboratories
  5. scott.stanton@eng.sun.com
  6.  
  7. SCCS: @(#) README 1.18 97/08/13 18:52:02
  8.  
  9. 1. Introduction
  10. ---------------
  11.  
  12. This is the directory where you configure and compile the Windows
  13. version of Tk.  This directory also contains source files for Tk
  14. that are specific to Microsoft Windows.  The rest of this file
  15. contains information specific to the Windows version of Tk.
  16.  
  17. 2. Distribution notes
  18. ---------------------
  19.  
  20. Tk 8.0 for Windows is distributed in binary form in addition to the
  21. common source release.  The binary distribution is a self-extracting
  22. archive with a built-in installation script.
  23.  
  24. Look for the binary release in the same location as the source release
  25. (ftp.smli.com:/pub/tcl or any of the mirror sites).  For most users,
  26. the binary release will be much easier to install and use.  You only
  27. need the source release if you plan to modify the core of Tcl, or if
  28. you need to compile with a different compiler.  With the addition of
  29. the dynamic loading interface, it is no longer necessary to have the
  30. source distribution in order to build and use extensions.
  31.  
  32. 3. Compiling Tk
  33. ----------------
  34.  
  35. In order to compile Tk for Windows, you need the following items:
  36.  
  37.     Tcl 8.0 Source Distribution (plus any patches)
  38.     Tk 8.0 Source Distribution (plus any patches)
  39.  
  40.     The latest Win32 SDK header files
  41.  
  42.     Borland C++ 4.5 or later (32-bit compiler)
  43.       or
  44.     Visual C++ 2.x or later
  45.     
  46.  
  47. In the "win" subdirectory of the source release, you will find two
  48. files called "makefile.bc" and "makefile.vc".  These are the makefiles
  49. for the Borland and Visual C++ compilers respectively.  You should
  50. copy the appropriate one to "makefile" and update the paths at the top
  51. of the file to reflect your system configuration.  Now you can use
  52. "make" (or "nmake" for VC++) to build the tk libraries and the wish
  53. executable.
  54.  
  55. In order to use the binaries generated by these makefiles, you will
  56. need to place the Tk script library files someplace where Tk can
  57. find them.  Tk looks in one of two places for the library files:
  58.  
  59.     1) The environment variable "TK_LIBRARY".
  60.  
  61.     2) In the lib\tk8.0 directory under the Tcl installation directory
  62.        as specified in the registry:
  63.  
  64.         For Windows NT & 95:
  65.             HKEY_LOCAL_MACHINE\SOFTWARE\Sun\Tcl\8.0
  66.             Value Name is "Root"
  67.  
  68.         For Win32s:
  69.             HKEY_CLASSES_ROOT\SOFTWARE\Sun\Tcl\8.0\
  70.  
  71.     2) Relative to the directory containing the current .exe.
  72.         Tk will look for a directory "..\lib\tk8.0" relative to the
  73.         directory containing the currently running .exe.
  74.  
  75. Note that in order to run wish80.exe, you must ensure that tcl80.dll,
  76. tclpip80.dll (plus tcl1680.dll under Win32s), and tk80.dll are on your
  77. path, in the system directory, or in the directory containing
  78. wish80.exe.
  79.  
  80. 4. Test suite
  81. -------------
  82.  
  83. The Windows version of Tk does not pass many of the tests in the test
  84. suite.  This is primarily due to dependencies in the test suite on the
  85. size of particular X fonts, and other X related features as well as
  86. problems with "exec".  We will be working to develop a more general
  87. test suite for Tk under Windows, but for now, you will not be able to
  88. pass many of the tests.
  89.  
  90. 5. Known Bugs
  91. -------------
  92.  
  93. Here is the current list of known bugs/missing features for the
  94. Windows beta version of Tk:
  95.  
  96. - There is no support for custom cursors/application icons.  The core
  97.   set of X cursors is supported, although you cannot change their color.
  98. - Stippling of arcs isn't implemented yet.
  99. - Some "wm" functions don't map to Windows and aren't implemented;
  100.   others should map, but just aren't implemented.  The worst offenders
  101.   are the icon manipulation routines.
  102. - Under Win32s, you can only start one instance of Wish at a time.
  103. - Color management on some displays doesn't work properly resulting in
  104.   Tk switching to monochrome mode.
  105. - Tk seems to fail to draw anything on some Matrox Millenium cards.
  106. - Send and winfo interps are not currently supported
  107. - Printing does not work for images (e.g. GIF) on a canvas.
  108. - Tk_dialog appears in the upper left corner.  This is a symptom of a
  109.   larger problem with "wm geometry" when applied to unmapped or
  110.   iconified windows.
  111. - Some keys don't work on international keyboards.
  112. - Grabs do not affect native menus or the title bar.
  113. - PPM images are using the wrong translation mode for writing to
  114.   files, resulting in CR/LF terminated PPM files.
  115. - Tk crashes if the display depth changes while it is running.  Tk
  116.   also doesn't consistently track changes in the system colors.
  117.  
  118. If you have comments or bug reports for the Windows version of Tk,
  119. please direct them to:
  120.  
  121. Scott Stanton
  122. scott.stanton@eng.sun.com
  123.  
  124. or post them to the newsgroup comp.lang.tcl.
  125.